package com.hh.common;

import com.hh.entity.Person;

import java.util.List;

public interface dao<T> {
    void updata(T eneity);
    Person getByid(Integer id);
    List<T> findAll(Class<T> c);

}
